#ifndef SU03T_H
#define SU03T_H

#include "pinctrl.h"
#include "gpio.h"
#include "platform_core_rom.h"
#include "uart.h"
#include "osal_debug.h"
#include "soc_osal.h"
#include "app_init.h"
#include "string.h"
#include "cmsis_os2.h"

typedef struct su03t_recv{
    uint8_t recv[50];
    uint8_t recv_len;
} su03t_recv;
void voice_control_data(uint8_t *pstr);
void su03t_send_alldata(void);
void recv_uart_hex(su03t_recv* recv);
void su03t_send_intdata(char* l,uint8_t id);
void su03t_send_doudata(char* l,uint8_t id);
void su03t_read_handler(const void *buffer, uint16_t length, bool error);
void su_init(void);
#endif